import requests


# https 是有第三方CA认证的
# 银行不是CA证书

# 解决方法 : 告诉web  忽略证书
url = 'https://www.abchina.com/cn/'  #  我测试失败了

headers = {
    "User-Agent":"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"
}

response = requests.get(url=url, headers=headers, verify=False)
data = response.content.decode('utf-8')

with open('03_ssl.html', 'w', encoding='utf-8') as f:
    f.write(data)